﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="admin_arrangecourse.aspx.cs" Inherits="FineUI.Examples.admin_arrangecourse" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="../res/css/common.css" rel="stylesheet" type="text/css" />
    <title>实验报告管理系统</title>
    <style>
        .header .title a,
        .header .pro a {
            font-weight: bold;
            font-size: 24px;
            text-decoration: none;
            line-height: 50px;
            margin-left: 10px;
        }
        `
        .header .pro {
            position: absolute;
            top: 0;
            right: 10px;
        }

        .bottomtable {
            width: 100%;
            font-size: 12px;
        }


        /* 主题相关样式 - neptune */
        .f-theme-neptune .header,
        .f-theme-neptune .bottomtable,
        .f-theme-neptune .x-splitter {
            background-color: #1475BB;
            color: #0ff;
        }

            .f-theme-neptune .header a,
            .f-theme-neptune .bottomtable a {
                color: #0ff;
            }

            .f-theme-neptune .header .x-panel-body {
                background-color: transparent;
            }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" runat="server" />


        <f:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" Width="1125px" EnableCollapse="true"
            Title="教学班信息" ShowHeader="True">
            <Items>
                <f:Form BodyPadding="5px" ID="Form2" LabelWidth="100px" ShowBorder="false" ShowHeader="false"
                    runat="server" Title="表单 1">
                     <Rows>
                       <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                              <f:TextBox ID="tbxTeaClassId" runat="server" Label="上课班号" Required="true" ShowRedStar="true"
                                 Text="">
                              </f:TextBox>
                               <f:TextBox ID="tbxTeaClassName" runat="server" Label="上课班级名称" Required="true" ShowRedStar="true"
                                 Text="">
                              </f:TextBox>


                           </Items>
                        </f:FormRow>

                              <f:FormRow ColumnWidths="50% 30% 20%">
                            <Items>
                             
                                <f:TextBox ID="tbxTeaClassDepartment" runat="server" Label="开设学院" Required="true" ShowRedStar="true"
                                    Text="">
                                </f:TextBox>

                                 <f:DropDownList runat="server" ID="DropDownListWeek" FocusOnPageLoad="true" Label="开设时间">
                                       <f:ListItem Text="星期一" Value="1" />
                                        <f:ListItem Text="星期二" Value="2" />
                                         <f:ListItem Text="星期三" Value="3" />
                                          <f:ListItem Text="星期四" Value="4" />
                                           <f:ListItem Text="星期五" Value="5" />
                                            <f:ListItem Text="星期六" Value="6" />
                                              <f:ListItem Text="星期天" Value="7" />
                                  </f:DropDownList>

                                  <f:DropDownList runat="server" ID="DropDownListTime" FocusOnPageLoad="true">
                                       <f:ListItem Text="第一节课" Value="1" />
                                        <f:ListItem Text="第二节课" Value="2" />
                                         <f:ListItem Text="第三节课" Value="3" />
                                          <f:ListItem Text="第四节课" Value="4" />
                                           <f:ListItem Text="第五节课" Value="5" />
                                            <f:ListItem Text="第六节课" Value="6" />
                                             <f:ListItem Text="第七节课" Value="7" />
                                              <f:ListItem Text="第八节课" Value="8" />
                                               <f:ListItem Text="第九节课" Value="9" />
                                                <f:ListItem Text="第十节课" Value="10" />
                                                 <f:ListItem Text="第十一节课" Value="11" />
                                       <f:ListItem Text="第十二节课" Value="11" />
                                       <f:ListItem Text="第十三节课" Value="11" />
                                  </f:DropDownList>
                               
                            </Items>
                        </f:FormRow>

                       <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                              <f:TextBox ID="tbxTeaName" runat="server" Label="教师姓名" Required="true" Enabled="false"
                                 Text="">
                              </f:TextBox>
                               <f:TextBox ID="tbxClassNum" runat="server" Label="教室编号" Required="true" Enabled="false"
                                 Text="">
                              </f:TextBox>

                           </Items>
                        </f:FormRow >

                         
                       <f:FormRow>
                        <Items>

                                <f:TextBox ID="tbxCourseName" runat="server" Label="课程编号" Required="true" Enabled="false"
                                 Text="">
                              </f:TextBox>

                           </Items>
                        </f:FormRow>

                     </Rows>

                  </f:Form>



            </Items>
                      <Toolbars>
                <f:Toolbar ID="Toolbar3" runat="server" Position="Bottom" ToolbarAlign="Right">
                    <Items>
                        
                        <f:Button ID="btnCreateTeaClass" runat="server" Text="开设教学班" OnClick="btnCreateTeaClass_Click">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>

        </f:SimpleForm>







        <br />

                <f:Grid  ID="GridTeacher" Title="选择教师" EnableCollapse="true" ShowBorder="true" ShowHeader="true"   OnRowCommand="GridTeacher_RowCommand" OnPageIndexChange="GridTeacher_PageIndexChange"
            PageSize="5" AllowPaging="true" runat="server" Width="1125px" DataKeyNames="R_Id,R_Task">

            <Columns>
                <f:RowNumberField />
                <f:BoundField  Width="150px" DataField="T_Name"  HeaderText="教师姓名" />
                <f:BoundField  Width="150px" DataField="T_Sex"  HeaderText="性别" />
                <f:BoundField Width="150px" DataField="T_Duty" HeaderText="职务"  />
                <f:BoundField Width="200px" DataField="T_Department" HeaderText="学院"  />
                <f:BoundField Width="200px" DataField="T_Contact" HeaderText="联系方式"  />
                <f:BoundField Width="205px" DataField="T_Email" HeaderText="电子邮件"  />

                <f:LinkButtonField Text="选择" Width="50px" CommandName="ActionChose"   EnableAjax="true"></f:LinkButtonField>
              
            
            </Columns>

                  
       </f:Grid>
                <br />

                                <f:Grid  ID="GridClass" Title="选择教室" EnableCollapse="true" ShowBorder="true" ShowHeader="true"   OnRowCommand="GridClass_RowCommand" OnPageIndexChange="GridClass_PageIndexChange"
            PageSize="5" AllowPaging="true" runat="server" Width="1125px" DataKeyNames="CL_Id">

            <Columns>
                <f:RowNumberField />
                <f:BoundField  Width="525px" DataField="CL_Id"  HeaderText="教室编号" />
                <f:BoundField  Width="525px" DataField="CL_Address"  HeaderText="教室地址" />
       

                <f:LinkButtonField Text="选择" Width="50px" CommandName="ActionChose"   EnableAjax="true"></f:LinkButtonField>
              
            
            </Columns>

                  
       </f:Grid>

                <br />

                <f:Grid  ID="GridCourse" Title="选择课程" EnableCollapse="true" ShowBorder="true" ShowHeader="true"   OnRowCommand="GridCourse_RowCommand"  OnPageIndexChange="GridCourse_PageIndexChange"
            PageSize="5" AllowPaging="true" runat="server" Width="1125px" DataKeyNames="R_Id,R_Task">

            
            <Columns>
                <f:RowNumberField />
                <f:BoundField  Width="350px" DataField="C_Id"  HeaderText="课程编号" />
                <f:BoundField  Width="355px" DataField="C_Name"  HeaderText="课程名称" />
                <f:BoundField  Width="350px" DataField="C_Credit"  HeaderText="学分" />

                <f:LinkButtonField Text="选择" Width="50px" CommandName="ActionChose"   EnableAjax="true"></f:LinkButtonField>
              
            
            </Columns>

                  
       </f:Grid>







    </form>
</body>
</html>
